Chapter 12 - Preview Components
This chapter discusses preview components. Preview components are used by the Image Compression Manager's standard file preview functions to display and create visual previews for files. Previews usually consist of a single image, but they may contain many kinds of data, including sound. In QuickTime, the Image Compression Manager is the primary client of preview components. Rarely, if ever, do applications call preview components directly. However, you may want to develop your own preview component for use by the Image Compression Manager. Therefore, this chapter focuses on what you must do to create a preview component.
Before learning about preview components, you must be familiar with QuickTime movie previews. See the chapter "Movie Toolbox" in Inside Macintosh: QuickTime for a complete description of movie previews and of the Image Compression Manager functions that support standard file previews.
- "About Preview Components" presents some general information about how preview components obtain, store, and use preview data.
- "Creating Preview Components" presents a sample program for the implementation of a preview component that displays PICT images.
- "Preview Components Reference" describes the functions and resources that are specific to preview components.
- "Summary of Preview Components" provides summaries of the preview component constants, data structures, and functions in C and in Pascal.
Chapter Contents
- About Preview Components
- Obtaining Preview Data
- Storing Preview Data in Files
- Using the Preview Data
- Creating Preview Components
- Implementing Required Component Functions
- Displaying Image Data as a Preview
- Preview Components Reference
- Functions
- Displaying Previews
- Handling Events
- Creating Previews
- Resources
- The Preview Resource
- The Preview Resource Item Structure
- Summary of Preview Components
- C Summary
- Constants
- Data Types
- Functions
- Displaying Previews
- Handling Events
- Creating Previews
- Pascal Summary
- Constants
- Data Types
- Routines
- Displaying Previews
- Handling Events
- Creating Previews
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help